package cn.csc.module.order.controller.admin.item.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author yql
 * @version 1.0
 * @modify  订单列表
 * @since 2024/11/21 15:17
 */
@Data
public class OrderItemListRespVO {
    @ApiModelProperty(value = "订单ID" )
    private BigInteger orderId;
    @ApiModelProperty(value = "店铺Id", required = true)
    private BigInteger shopId;
    @ApiModelProperty(value = "店铺名称", required = true)
    private String shopName;
    /**
     * 订单状态 0未付款,1已付款,2已发货,3已签收,-1退货申请,-2退货中,-3已退货,-4取消交易 -5撤销申请
     */
    @ApiModelProperty(value = "订单状态", required = true)
    private int orderStatus;

    @ApiModelProperty(value = "总值", required = true)
    private BigDecimal total;

    @ApiModelProperty(value = "订单商品总数", required = true)
    private Integer allCount;

    @ApiModelProperty(value = "付款时间", required = true)
    private LocalDateTime payTime;
    @ApiModelProperty(value = "订单子项", required = true)
    private List<OrderItemRespVO> orderItems;

    @ApiModelProperty(value = "购物卡支付金额")
    private BigDecimal cardPayAmount;



}
